Skip to content

Fix Mirage Archer having no Spirit cost#2234

Merged
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
okazakikun:dev
Jul 11, 2026
Merged

Fix Mirage Archer having no Spirit cost#2234
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
okazakikun:dev

Conversation

@okazakikun

Copy link
Copy Markdown
Contributor

Added fail-safe for grantedEffectDisplayOrder in cases where there are more effects granted than arguments in grantedEffectDisplayOrder to resolve "MetaMirageArcherPlayer" being discarded and thus spirit not being reserved for mirage archer and potentially other skills.

Fixes Mirage archer not reserving spirit as reported in issue 2151

Description of the problem being solved: In Gems.lua SkillGemMirageArcher grants 3 effects but only assigning an order to 2 of them "grantedEffectDisplayOrder = { 1, 2 },"

Steps taken to verify a working solution:

  • Verified Mirage archer was not reserving any spirit
  • Added failsafe for when grantedEffectDisplayOrder contains less entries than the number of effects granted and append any missing effects.
  • Applied fix, added mirage archer with ice shot, confirmed spirit was being reserved correctly and damage calculations were uneffected.

Link to a build that showcases this PR:

https://maxroll.gg/poe2/pob/bh7ilp0w

Before screenshot:

image

After screenshot:

image

Added failsafe for grantedEffectDisplayOrder in cases where there are more effects granted than arguments in grantedEffectDisplayOrder to resolve "MetaMirageArcherPlayer" being discarded and thus spirit not being reserved for mirage archer and potentially other skills.
@okazakikun okazakikun changed the title Refactor grantedEffectList ordering logic Fix: Mirage archer spirit cost not reported Jun 20, 2026
@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Jul 11, 2026
@LocalIdentity LocalIdentity changed the title Fix: Mirage archer spirit cost not reported Fix Mirage Archer having no Spirit cost Jul 11, 2026
@LocalIdentity LocalIdentity merged commit ec34f58 into PathOfBuildingCommunity:dev Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculation Numerical differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants